package com.xiaobaibai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement//为订单开启事务
@EnableScheduling//开启定时任务
public class MallApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallApplication.class,args);
    }

}
